Q3Light_GetState
You can use theQ3Light_GetState
function to get the current state of a light.
TQ3Status Q3Light_GetState ( TQ3LightObject light, TQ3Boolean *isOn);
light
- A light object.
isOn
- On exit, the current state of the light specified by the
light
parameter.DESCRIPTION
TheQ3Light_GetState
function returns, in theisOn
parameter, a Boolean value that indicates whether the light specified by thelight
parameter is active (kQ3True
) or inactive (kQ3False
).